package se.webbzon.boltzmann.editor.factory.worldobject;

import se.webbzon.boltzmann.environment.AbstractEnvironment;
import se.webbzon.boltzmann.game.object.waypoint.Waypoint;
import se.webbzon.oschi01.worldobject.WorldObject;

public class WaypointFactory implements WorldObjectFactory {
	
	// The abstract environment of this factory
	private final AbstractEnvironment env;
	
	/*============================================================
	Constructors
	============================================================*/
	
	public WaypointFactory(AbstractEnvironment env) {
		this.env = env;
	}
	
	/*============================================================
	Public Methods
	============================================================*/

	@Override public WorldObject makeWorldObject() {
		return new Waypoint(env);
	}

	@Override public String getName() {
		return "Waypoint";
	}

}
